home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / tde31.zip / PROMPTS.H < prev    next >
C/C++ Source or Header  |  1993-08-29  |  10KB  |  324 lines

  1. /*
  2.  * New editor name:  TDE, the Thomson-Davis Editor.
  3.  * Author:           Frank Davis
  4.  * Date:             June 5, 1992
  5.  *
  6.  * This file contains all user prompts in TDE.  Prompts were gathered into
  7.  *  one file to make the job of translating English into other languages
  8.  *  as easy as possible.
  9.  */
  10.  
  11.  
  12. char *cb      = "Control-Break pressed";
  13.  
  14.  
  15. /*
  16.  * block.c
  17.  */
  18. char *block1  = "a block is already defined in another file";
  19.  
  20. char *ltol    = "Error: line would be too long.";
  21. char *block2  = "can only fill box blocks";
  22. char *block3a = "can only number box blocks";
  23. char *block3b = "can only swap box blocks";
  24. char *block4  = "not enough memory for block";
  25. char *block5  = "can only overlay box blocks";
  26.  
  27. char *block6  = "File name: ";
  28. char *block7  = "File exists. Overwrite or Append? (o/a): ";
  29. char *block8  = "writing block to '";
  30. char *block9  = "could not write block";
  31. char *block10 = "appending block to '";
  32. char *block11 = "could not append block";
  33. char *block12 = "writing block to '";
  34.  
  35. char *block13 = "Print file or block? (f/b): ";
  36. char *block14 = "Printing line         of         Press Control-Break to cancel.";
  37.  
  38. char *block15 = "Enter character to fill block (ESC to exit): ";
  39.  
  40. char *block16 = "Enter starting number: ";
  41. char *block17 = "Enter increment: ";
  42. char *block18 = "Left or Right justify numbers in block (l/r)? ";
  43.  
  44. char *block20 = "can only expand tabs in line blocks";
  45. char *block26 = "can only expand tabs in line blocks";
  46.  
  47. char *block21 = "can only trim trailing space in line blocks";
  48.  
  49. char *block22a = "Phase 1) Quicksort";
  50. char *block22b = "Phase 2) Insertion sort";
  51. char *block23 = "Can only sort Box blocks";
  52. char *block24 = "Box block not marked";
  53.  
  54. char *block25 = "can only e-mail reply in line blocks";
  55.  
  56.  
  57. /*
  58.  * critical error handler
  59.  */
  60. char *critt1  = "N/A";
  61.  
  62.  
  63. /*
  64.  * diff
  65.  */
  66. char *diff_prompt1 = "DIFF:  Enter first window number and letter (e.g. 1a) : ";
  67. char *diff_prompt2 = "DIFF:  Enter next window number and letter (e.g. 2a) : ";
  68. char *diff_prompt3 = "DIFF:  Start diff at (B)eginning of file or (C)urrent position? (b/c) ";
  69. char *diff_prompt4 = "DIFF:  Diffed until EOF(s).  No diff's were found.  Press a key.";
  70. char *diff_prompt5 = "DIFF windows not defined:  ";
  71. char *diff_prompt6a = "window '";
  72. char *diff_prompt6b = "' not visible or does not exist  ";
  73. char *diff_prompt7a = "DIFF:  Ignore leading spaces (y/n)?  ";
  74. char *diff_prompt7b = "DIFF:  Ignore all space (y/n)?  ";
  75. char *diff_prompt7c = "DIFF:  Ignore blank lines (y/n)?  ";
  76. char *diff_prompt7d = "DIFF:  Ignore end of line (useful with reformatted paragraphs) (y/n)?  ";
  77.  
  78. char *diff_message = "diffing...";
  79. char *diff_blank   = "          ";
  80.  
  81.  
  82. /*
  83.  * dir list
  84.  */
  85. char *dir1 = "Search path or pattern : ";
  86. char *dir2 = "Invalid path or file name";
  87. char *stardotstar = "*.*";
  88. char *dir3 = "Out of memory";
  89.  
  90. char *dir4 = "Selected file : ";
  91. char *dir5 = "    File size : ";
  92. char *dir6 = "File count : ";
  93.  
  94. char *dir7 = "Cursor keys move.   Enter selects file or new directory";
  95.  
  96. /*
  97.  * ed.c
  98.  */
  99. char *ed1  = "line too long to add";
  100. char *ed2  = "cannot insert more characters";
  101. char *ed3  = "no more room to add";
  102.  
  103. char *ed4  = "cannot combine lines";
  104.  
  105. char *ed5  = "cannot duplicate line";
  106.  
  107. char *ed7a = "Logical tab interval: ";
  108. char *ed7b = "Physical (file) tab interval: ";
  109. char *ed8  = "tab size too long";
  110.  
  111. char *ed9  = "Enter new left margin (must be less than right margin) : ";
  112. char *ed10 = "Left margin out of range.";
  113.  
  114. char *ed11a = "Justify right margin?  (y/n): ";
  115. char *ed11 = "Enter new right margin (must be greater than left margin) : ";
  116. char *ed12 = "Right margin out of range.";
  117.  
  118. char *ed13 = "Enter paragraph margin (must be less than right margin) : ";
  119. char *ed14 = "Paragraph margin out of range.";
  120.  
  121. char *ed15 = "File name to edit : ";
  122.  
  123. char *ed16 = "Macro execution halted:  Internal stack overflow.";
  124. char *ed17 = "Macro execution halted:  Internal stack underflow.";
  125.  
  126. char *paused1 = "Paused:";
  127. char *paused2 = "  Press ESC to halt macro   ";
  128.  
  129. /*
  130.  * findrep.c
  131.  */
  132. char *find1  = "Options:  (P)rompt before replace   (N)o prompt (p/n): ";
  133. char *find2  = "(R)eplace  (S)kip  (E)xit  (r/s/e)";
  134. char *find3  = "Search has wrapped.  (C)ontinue or (Q)uit? (c/q): ";
  135.  
  136. char *find4  = "String to find: ";
  137. char *find5a = "string \"";
  138. char *find5b = "\" not found ";
  139. char *find6  = "find pattern not defined";
  140.  
  141.  
  142. char *find7[] = { "          ",
  143.                   "wrapped...",
  144.                   "searching ",
  145.                   "replacing ",
  146.                   "nfa choked"  };
  147.  
  148.  
  149. char *find8  = "string not found";
  150. char *find9  = "String to find: ";
  151. char *find10 = "Replacement:    ";
  152.  
  153. char *find11 = "Line number: ";
  154. char *find12 = "must be in the range 1 - ";
  155.  
  156.  
  157. /*
  158.  * hwind.c
  159.  */
  160. char *smart   = "S";
  161. char *fixed   = "F";
  162. char *intab   = "I";
  163. char *outtab  = "D";
  164. char *tabs    = "Tabs=";
  165.  
  166. char *indent  = "Indent";
  167. char *blank   = "      ";
  168.  
  169. char *ignore = "Ignore";
  170. char *match  = "Match ";
  171.  
  172. char *sync_off = "    ";
  173. char *sync_on  = "Sync";
  174.  
  175. char *ww_mode[]  = { "  ",
  176.                      "FW",
  177.                      "DW" };
  178.  
  179. char *eol_mode[] = { "Native",
  180.                      "CRLF  ",
  181.                      "LF    ",
  182.                      "Binary" };
  183.  
  184. /*
  185.  * main.c
  186.  */
  187. char *main1   = "Fatal error: ";
  188. char *main2   = "Warning: ";
  189. char *main3   = ": press a key";
  190.  
  191. char *main4   = "out of memory";
  192.  
  193. char *main5   = "negative move - contact Frank Davis";
  194.  
  195. char *main6   = "File is write protected.  Overwrite anyway? (y/n): ";
  196.  
  197. char *main7a  = "File '";
  198. char *main7b  = "'not found or error loading file";
  199.  
  200. char *main8a  = "file '";
  201. char *main8b  = "'too big.  FILE WILL BE TRUNCATED IF SAVED!";
  202.  
  203. char *main9   = "error reading file '";
  204.  
  205. char *main10a = "file '";
  206. char *main10b = "'too big";
  207.  
  208. char *main11  = "Press the key that will play back this recording : ";
  209. char *main12  = "Cannot assign a recording to this key";
  210. char *main13  = "No more room in recording buffer";
  211. char *main14  = "Overwrite recording assigned to this key? (y/n) : ";
  212.  
  213. char *main15  = "Recording";
  214.  
  215. char *main18  = "  Avail strokes = ";
  216.  
  217. char *main19  = "Name for macro file name: ";
  218. char *main20  = "Overwrite existing file? (y/n): ";
  219.  
  220. char *main21  = "Search path or file name for macro file : ";
  221. char *main22  = "Invalid path or file name";
  222.  
  223.  
  224. /*
  225.  * regx.c
  226.  */
  227. char *reg1   = "Regular expression search (F1 = help): ";
  228. char *reg2   = "unmatched open paren ";
  229. char *reg3   = "unmatched close paren ";
  230. char *reg4   = "char \'\\\' at end of string is not escaped";
  231. char *reg5   = "class is not defined properly";
  232. char *reg6   = "unmatched open bracket";
  233. char *reg7   = "out of heap for class definition";
  234. char *reg8   = "operator *, + , or ? error";
  235. char *reg9   = "unmatched close bracket ";
  236. char *reg10  = "incomplete range in character class ";
  237. char *reg11  = "Can't parse two operators in a row ";
  238.  
  239.  
  240. char *regx_help[] = {
  241. "┌──────────────────────────────────────────────────────┐",
  242. "│   c = char    x = string    r,s = regular expression │",
  243. "├─────────┬──────────────────────────────┬─────────────┤",
  244. "│  c      │  any non-operator character  │  Felis      │",
  245. "│  \\c     │  c literally and C escapes   │  catus\\.    │",
  246. "│  \\:c    │  predefined macro            │  \\:a+.?\\(   │",
  247. "│  .      │  any character but newline   │  c.t        │",
  248. "│  <      │  beginning of word           │  <cat       │",
  249. "│  >      │  end of word                 │  <cat>      │",
  250. "│  ^      │  beginning of line           │  ^cat>      │",
  251. "│  $      │  end of line                 │  cat$       │",
  252. "│  [x]    │  any character in x          │  [a-z0-9]   │",
  253. "│  [^x]   │  any character not in x      │  [^AEIOU]   │",
  254. "│  r*     │  zero or more r's            │  ca*t       │",
  255. "│  r+     │  one or more r's             │  ca[b-t]+   │",
  256. "│  r?     │  zero or one r               │  c.?t       │",
  257. "│  rs     │  r followed by s             │  ^$         │",
  258. "│  r|s    │  either r or s               │  kitty|cat  │",
  259. "│  (r)    │  r                           │  (c)?(a+)t  │",
  260. "└─────────┴──────────────────────────────┴─────────────┘",
  261. NULL
  262. };
  263.  
  264.  
  265. /*
  266.  * utils.c
  267.  */
  268. char *utils1  = "line buffer overflow - rest of line ignored";
  269. char *utils3  = "buffer full, part line truncated";
  270.  
  271. char *utils4  = "Sort (A)scending or (D)escending (a/d)? : ";
  272.  
  273. char *utils5  = "Replace (F)orward or (B)ackward (f/b)? : ";
  274.  
  275. char *utils6  = "Saving '";
  276. char *utils7a = "file  '";
  277. char *utils7b = "' is Read Only";
  278. char *utils8  = "cannot write to '";
  279.  
  280. char *utils9  = "New file name: ";
  281.  
  282. char *utils10 = "Overwrite existing file? (y/n): ";
  283.  
  284. char *utils11 = "Error writing file or disk full";
  285.  
  286. char *utils12 = "Abandon changes? (y/n): ";
  287.  
  288. char *utils13 = "Marker   not set in this file";
  289.  
  290. char *utils14 = "Enter new file attributes, \"AaSsHhRr\" : ";
  291. char *utils15 = "New file attributes not set";
  292.  
  293. char *utils16 = "No dirty lines found";
  294.  
  295. /*
  296.  * window.c
  297.  */
  298. char *win1 = "move cursor up first";
  299.  
  300. char *win2 = "move cursor right first";
  301. char *win3 = "move cursor left first";
  302.  
  303. char *win4 = "Press Up or Down to change window size.  Press Return when done.";
  304. char *win5 = "can not resize vertical window";
  305. char *win6 = "can not resize top window";
  306.  
  307. char *win7 = "cannot close current window";
  308.  
  309. char *win8 = "Invalid path or file name ";
  310. char *win9 = "No more files to load ";
  311.  
  312. char *win16a = "Enter search string:  ";
  313. char *win16b = "Enter regular expression search string:  ";
  314. char *win17 = "Enter file names to search:  ";
  315.  
  316. char *win18 = "Press the <Grep> key for more files or any other key to quit:  ";
  317.  
  318. char *win19 = "Searching:  ";
  319.  
  320. /*
  321.  * wordwrap.c
  322.  */
  323. char *ww1  = "line would be too long.";
  324.